package ssm_zxw.mapper;

import org.apache.ibatis.annotations.Param;
import ssm_zxw.pojo.User;

import java.util.List;

public interface userMapper {

    public List<User> findAll();

    public List<User> find();

    public void deleteUser(int id);
    public void deleteUser_role(int id);
    public User findNameByPassword(@Param("username") String username,@Param("password") String password);
}
